import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../views/Login.vue'
import AboutView from '../views/AboutView.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'login',
    component: () => import('../views/Login.vue')
  },
  {
    path:'/AboutView',
    name:'show',
    component:() => import('../views/AboutView.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router